* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui;
}


body {
    min-height: 100vh;
    background-size: cover;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.right-area {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 登录容器 */
.login-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 400px;
    padding: 40px;
    position: relative;
    /*margin-right: 18%;*/
    margin: 0 auto;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* 品牌标识 */
.brand {
    color: #fff;
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 输入框样式 */
.input-group {
    margin-bottom: 15px;
    position: relative;
}

input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

input:focus {
    outline: none;
    border-color: #4A90E2;
    background: rgba(255, 255, 255, 0.2);
}

/* 按钮样式 */
button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4A90E2, #2B6CD4);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s;
}

button:hover {
    transform: translateY(-2px);
}


/* 验证码输入行（核心实现） */
.captcha-group {
    height: 68px;
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
    position: relative;
}

#captcha-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 60%;
}

#captcha-image {
    height: 47px;
    width: 100px;
    border: 1px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}

#captcha-image:hover {
    opacity: 0.6;
}

.filed-error {
    color: red;
    position: absolute;
    bottom: -10px;
    font-size: 12px;
}


/* 短信登录入口定位 */
.sms-login-link {
    position: absolute;
    right: 40px;
    bottom: 10px;
    display: flex;
    align-items: center;
    color: #1890ff;
    text-decoration: none;
    font-size: 14px;
}

.sms-login-link img {
    width: 20px;
    margin-right: 8px;
}


#error-login-failed {
    position: absolute;
    color: red;
    bottom: 10px;
    left: 45px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login-box {
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .sms-login-link {
        right: 40px;
        bottom: 10px;
    }
}